using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using System.Xml;

namespace 道路运输从业人员无纸化考试系统
{
	public class SubjectManagerForm : Form
	{
		private IContainer components = null;

		private TabControl tabControl1;

		private TabPage tabPage1;

		private TabPage tabPage2;

		private TextBox txt_title1;

		private RadioButton rbNO;

		private RadioButton rbYes;

		private Button btn_Save;

		private Label label2;

		private Label label1;

		private TabPage tabPage3;

		private TextBox txtChooseD;

		private TextBox txtChooseC;

		private TextBox txtChooseB;

		private TextBox txtChooseA;

		private Label label6;

		private Label label5;

		private Label label7;

		private Label label8;

		private Label label9;

		private TextBox txtTitle2;

		private Button btnSave2;

		private Label label3;

		private Label label4;

		private RadioButton rbD;

		private RadioButton rbC;

		private RadioButton rbB;

		private RadioButton rbA;

		private CheckBox cbD;

		private CheckBox cbC;

		private CheckBox cbB;

		private CheckBox cbA;

		private TextBox txtD;

		private TextBox txtC;

		private TextBox txtB;

		private TextBox txtA;

		private Label label10;

		private Label label11;

		private Label label12;

		private Label label13;

		private Label label14;

		private TextBox txtTitle3;

		private Button btnSave3;

		private Label label15;

		private Label label16;

		public SubjectManagerForm()
		{
			InitializeComponent();
		}

		private void btn_Save_Click(object sender, EventArgs e)
		{
			string FileName = Application.StartupPath + "\\data\\DataXMLFile.xml";
			XmlDocument xdXML = new XmlDocument();
			XmlElement xeXML = xdXML.DocumentElement;
			xdXML.Load(FileName);
			XmlNode xnl = xdXML.DocumentElement;
			XmlNode node = xdXML.SelectSingleNode("subjects");
			XmlElement xel = xdXML.CreateElement("topic");
			XmlElement xelt = xdXML.CreateElement("title");
			if (txt_title1.Text != "")
			{
				xelt.InnerText = txt_title1.Text;
				if (!rbYes.Checked && !rbNO.Checked)
				{
					MessageBox.Show("请设置该题的正确答案", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Hand);
					return;
				}
				string txtType = "判断题";
				XmlElement xeltype = xdXML.CreateElement("type");
				xeltype.InnerText = txtType;
				string yesOrNo = "";
				if (rbYes.Checked)
				{
					yesOrNo = "yes";
				}
				else if (rbNO.Checked)
				{
					yesOrNo = "no";
				}
				XmlElement xelyn = xdXML.CreateElement("choiceP");
				xelyn.InnerText = yesOrNo;
				string txtChooseA = " ";
				XmlElement xela = xdXML.CreateElement("choiceA");
				xela.InnerText = txtChooseA;
				string txtChooseB = " ";
				XmlElement xelb = xdXML.CreateElement("choiceB");
				xelb.InnerText = txtChooseB;
				string txtChooseC = " ";
				XmlElement xelc = xdXML.CreateElement("choiceC");
				xelc.InnerText = txtChooseC;
				string txtChooseD = " ";
				XmlElement xeld = xdXML.CreateElement("choiceD");
				xeld.InnerText = txtChooseD;
				XmlElement xelda = xdXML.CreateElement("key");
				xelda.InnerText = " ";
				xel.AppendChild(xelt);
				xel.AppendChild(xela);
				xel.AppendChild(xelb);
				xel.AppendChild(xelc);
				xel.AppendChild(xeld);
				xel.AppendChild(xelda);
				xel.AppendChild(xelyn);
				xel.AppendChild(xeltype);
				node.AppendChild(xel);
				xdXML.Save(FileName);
				MessageBox.Show("信息添加成功！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
			}
			else
			{
				MessageBox.Show("请输入您的问题", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Hand);
			}
		}

		private void btnSave2_Click(object sender, EventArgs e)
		{
			string FileName = Application.StartupPath + "\\data\\DataXMLFile.xml";
			XmlDocument xdXML = new XmlDocument();
			XmlElement xeXML = xdXML.DocumentElement;
			xdXML.Load(FileName);
			XmlNode xnl = xdXML.DocumentElement;
			XmlNode node = xdXML.SelectSingleNode("subjects");
			XmlElement xel = xdXML.CreateElement("topic");
			XmlElement xelt = xdXML.CreateElement("title");
			if (txtTitle2.Text != "")
			{
				xelt.InnerText = txtTitle2.Text;
				if (this.txtChooseA.Text == "")
				{
					MessageBox.Show("请输入选项A的描述", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Hand);
					return;
				}
				if (this.txtChooseB.Text == "")
				{
					MessageBox.Show("请输入选项B的描述", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Hand);
					return;
				}
				if (this.txtChooseC.Text == "")
				{
					MessageBox.Show("请输入选项C的描述", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Hand);
					return;
				}
				if (!rbA.Checked && !rbB.Checked && !rbC.Checked && !rbD.Checked)
				{
					MessageBox.Show("请设置该题的正确答案", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Hand);
					return;
				}
				string txtType = "单选题";
				XmlElement xeltype = xdXML.CreateElement("type");
				xeltype.InnerText = txtType;
				XmlElement xelyn = xdXML.CreateElement("choiceP");
				xelyn.InnerText = " ";
				string txtChooseA = this.txtChooseA.Text;
				XmlElement xela = xdXML.CreateElement("choiceA");
				xela.InnerText = txtChooseA;
				string txtChooseB = this.txtChooseB.Text;
				XmlElement xelb = xdXML.CreateElement("choiceB");
				xelb.InnerText = txtChooseB;
				string txtChooseC = this.txtChooseC.Text;
				XmlElement xelc = xdXML.CreateElement("choiceC");
				xelc.InnerText = txtChooseC;
				string txtChooseD = this.txtChooseD.Text;
				XmlElement xeld = xdXML.CreateElement("choiceD");
				xeld.InnerText = txtChooseD;
				string ans = " ";
				if (rbA.Checked)
				{
					ans = rbA.Text;
				}
				else if (rbB.Checked)
				{
					ans = rbB.Text;
				}
				else if (rbC.Checked)
				{
					ans = rbC.Text;
				}
				else if (rbD.Checked)
				{
					ans = rbD.Text;
				}
				XmlElement xelda = xdXML.CreateElement("key");
				xelda.InnerText = ans;
				xel.AppendChild(xelt);
				xel.AppendChild(xela);
				xel.AppendChild(xelb);
				xel.AppendChild(xelc);
				xel.AppendChild(xeld);
				xel.AppendChild(xelda);
				xel.AppendChild(xelyn);
				xel.AppendChild(xeltype);
				node.AppendChild(xel);
				xdXML.Save(FileName);
				MessageBox.Show("信息添加成功！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
			}
			else
			{
				MessageBox.Show("请输入您的问题", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Hand);
			}
		}

		private void btnSave3_Click(object sender, EventArgs e)
		{
			string FileName = Application.StartupPath + "\\data\\DataXMLFile.xml";
			XmlDocument xdXML = new XmlDocument();
			XmlElement xeXML = xdXML.DocumentElement;
			xdXML.Load(FileName);
			XmlNode xnl = xdXML.DocumentElement;
			XmlNode node = xdXML.SelectSingleNode("subjects");
			XmlElement xel = xdXML.CreateElement("topic");
			XmlElement xelt = xdXML.CreateElement("title");
			if (txtTitle3.Text != "")
			{
				xelt.InnerText = txtTitle3.Text;
				if (txtA.Text == "")
				{
					MessageBox.Show("请输入选项A的描述", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Hand);
					return;
				}
				if (txtB.Text == "")
				{
					MessageBox.Show("请输入选项B的描述", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Hand);
					return;
				}
				if (txtC.Text == "")
				{
					MessageBox.Show("请输入选项C的描述", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Hand);
					return;
				}
				if (!cbA.Checked && !cbB.Checked && !cbC.Checked && !cbD.Checked)
				{
					MessageBox.Show("请设置该题的正确答案", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Hand);
					return;
				}
				string txtType = "多选题";
				XmlElement xeltype = xdXML.CreateElement("type");
				xeltype.InnerText = txtType;
				XmlElement xelyn = xdXML.CreateElement("choiceP");
				xelyn.InnerText = " ";
				string txtChooseA = txtA.Text;
				XmlElement xela = xdXML.CreateElement("choiceA");
				xela.InnerText = txtChooseA;
				string txtChooseB = txtB.Text;
				XmlElement xelb = xdXML.CreateElement("choiceB");
				xelb.InnerText = txtChooseB;
				string txtChooseC = txtC.Text;
				XmlElement xelc = xdXML.CreateElement("choiceC");
				xelc.InnerText = txtChooseC;
				string txtChooseD = txtD.Text;
				XmlElement xeld = xdXML.CreateElement("choiceD");
				xeld.InnerText = txtChooseD;
				string ans = "";
				if (cbA.Checked)
				{
					ans += rbA.Text;
				}
				if (cbB.Checked)
				{
					ans += rbB.Text;
				}
				if (cbC.Checked)
				{
					ans += rbC.Text;
				}
				if (cbD.Checked)
				{
					ans += rbD.Text;
				}
				XmlElement xelda = xdXML.CreateElement("key");
				xelda.InnerText = ans;
				xel.AppendChild(xelt);
				xel.AppendChild(xela);
				xel.AppendChild(xelb);
				xel.AppendChild(xelc);
				xel.AppendChild(xeld);
				xel.AppendChild(xelda);
				xel.AppendChild(xelyn);
				xel.AppendChild(xeltype);
				node.AppendChild(xel);
				xdXML.Save(FileName);
				MessageBox.Show("信息添加成功！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
			}
			else
			{
				MessageBox.Show("请输入您的问题", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Hand);
			}
		}

		protected override void Dispose(bool disposing)
		{
			if (disposing && components != null)
			{
				components.Dispose();
			}
			base.Dispose(disposing);
		}

		private void InitializeComponent()
		{
            this.tabControl1 = new System.Windows.Forms.TabControl();
            this.tabPage1 = new System.Windows.Forms.TabPage();
            this.txt_title1 = new System.Windows.Forms.TextBox();
            this.rbNO = new System.Windows.Forms.RadioButton();
            this.rbYes = new System.Windows.Forms.RadioButton();
            this.btn_Save = new System.Windows.Forms.Button();
            this.label2 = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            this.tabPage2 = new System.Windows.Forms.TabPage();
            this.rbD = new System.Windows.Forms.RadioButton();
            this.rbC = new System.Windows.Forms.RadioButton();
            this.rbB = new System.Windows.Forms.RadioButton();
            this.rbA = new System.Windows.Forms.RadioButton();
            this.txtChooseD = new System.Windows.Forms.TextBox();
            this.txtChooseC = new System.Windows.Forms.TextBox();
            this.txtChooseB = new System.Windows.Forms.TextBox();
            this.txtChooseA = new System.Windows.Forms.TextBox();
            this.label6 = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            this.label7 = new System.Windows.Forms.Label();
            this.label8 = new System.Windows.Forms.Label();
            this.label9 = new System.Windows.Forms.Label();
            this.txtTitle2 = new System.Windows.Forms.TextBox();
            this.btnSave2 = new System.Windows.Forms.Button();
            this.label3 = new System.Windows.Forms.Label();
            this.label4 = new System.Windows.Forms.Label();
            this.tabPage3 = new System.Windows.Forms.TabPage();
            this.cbD = new System.Windows.Forms.CheckBox();
            this.cbC = new System.Windows.Forms.CheckBox();
            this.cbB = new System.Windows.Forms.CheckBox();
            this.cbA = new System.Windows.Forms.CheckBox();
            this.txtD = new System.Windows.Forms.TextBox();
            this.txtC = new System.Windows.Forms.TextBox();
            this.txtB = new System.Windows.Forms.TextBox();
            this.txtA = new System.Windows.Forms.TextBox();
            this.label10 = new System.Windows.Forms.Label();
            this.label11 = new System.Windows.Forms.Label();
            this.label12 = new System.Windows.Forms.Label();
            this.label13 = new System.Windows.Forms.Label();
            this.label14 = new System.Windows.Forms.Label();
            this.txtTitle3 = new System.Windows.Forms.TextBox();
            this.btnSave3 = new System.Windows.Forms.Button();
            this.label15 = new System.Windows.Forms.Label();
            this.label16 = new System.Windows.Forms.Label();
            this.tabControl1.SuspendLayout();
            this.tabPage1.SuspendLayout();
            this.tabPage2.SuspendLayout();
            this.tabPage3.SuspendLayout();
            this.SuspendLayout();
            // 
            // tabControl1
            // 
            this.tabControl1.Controls.Add(this.tabPage1);
            this.tabControl1.Controls.Add(this.tabPage2);
            this.tabControl1.Controls.Add(this.tabPage3);
            this.tabControl1.Location = new System.Drawing.Point(2, 3);
            this.tabControl1.Name = "tabControl1";
            this.tabControl1.SelectedIndex = 0;
            this.tabControl1.Size = new System.Drawing.Size(700, 477);
            this.tabControl1.TabIndex = 0;
            // 
            // tabPage1
            // 
            this.tabPage1.Controls.Add(this.txt_title1);
            this.tabPage1.Controls.Add(this.rbNO);
            this.tabPage1.Controls.Add(this.rbYes);
            this.tabPage1.Controls.Add(this.btn_Save);
            this.tabPage1.Controls.Add(this.label2);
            this.tabPage1.Controls.Add(this.label1);
            this.tabPage1.Location = new System.Drawing.Point(4, 22);
            this.tabPage1.Name = "tabPage1";
            this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage1.Size = new System.Drawing.Size(692, 451);
            this.tabPage1.TabIndex = 0;
            this.tabPage1.Text = "判断题";
            this.tabPage1.UseVisualStyleBackColor = true;
            // 
            // txt_title1
            // 
            this.txt_title1.Font = new System.Drawing.Font("宋体", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txt_title1.Location = new System.Drawing.Point(66, 30);
            this.txt_title1.Multiline = true;
            this.txt_title1.Name = "txt_title1";
            this.txt_title1.Size = new System.Drawing.Size(589, 76);
            this.txt_title1.TabIndex = 3;
            // 
            // rbNO
            // 
            this.rbNO.AutoSize = true;
            this.rbNO.Location = new System.Drawing.Point(131, 112);
            this.rbNO.Name = "rbNO";
            this.rbNO.Size = new System.Drawing.Size(47, 16);
            this.rbNO.TabIndex = 2;
            this.rbNO.TabStop = true;
            this.rbNO.Text = "错误";
            this.rbNO.UseVisualStyleBackColor = true;
            // 
            // rbYes
            // 
            this.rbYes.AutoSize = true;
            this.rbYes.Location = new System.Drawing.Point(78, 112);
            this.rbYes.Name = "rbYes";
            this.rbYes.Size = new System.Drawing.Size(47, 16);
            this.rbYes.TabIndex = 2;
            this.rbYes.TabStop = true;
            this.rbYes.Text = "正确";
            this.rbYes.UseVisualStyleBackColor = true;
            // 
            // btn_Save
            // 
            this.btn_Save.Location = new System.Drawing.Point(292, 164);
            this.btn_Save.Name = "btn_Save";
            this.btn_Save.Size = new System.Drawing.Size(75, 23);
            this.btn_Save.TabIndex = 1;
            this.btn_Save.Text = "保存";
            this.btn_Save.UseVisualStyleBackColor = true;
            this.btn_Save.Click += new System.EventHandler(this.btn_Save_Click);
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(31, 114);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(41, 12);
            this.label2.TabIndex = 0;
            this.label2.Text = "答案：";
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(29, 33);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(41, 12);
            this.label1.TabIndex = 0;
            this.label1.Text = "题目：";
            // 
            // tabPage2
            // 
            this.tabPage2.Controls.Add(this.rbD);
            this.tabPage2.Controls.Add(this.rbC);
            this.tabPage2.Controls.Add(this.rbB);
            this.tabPage2.Controls.Add(this.rbA);
            this.tabPage2.Controls.Add(this.txtChooseD);
            this.tabPage2.Controls.Add(this.txtChooseC);
            this.tabPage2.Controls.Add(this.txtChooseB);
            this.tabPage2.Controls.Add(this.txtChooseA);
            this.tabPage2.Controls.Add(this.label6);
            this.tabPage2.Controls.Add(this.label5);
            this.tabPage2.Controls.Add(this.label7);
            this.tabPage2.Controls.Add(this.label8);
            this.tabPage2.Controls.Add(this.label9);
            this.tabPage2.Controls.Add(this.txtTitle2);
            this.tabPage2.Controls.Add(this.btnSave2);
            this.tabPage2.Controls.Add(this.label3);
            this.tabPage2.Controls.Add(this.label4);
            this.tabPage2.Location = new System.Drawing.Point(4, 22);
            this.tabPage2.Name = "tabPage2";
            this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage2.Size = new System.Drawing.Size(692, 451);
            this.tabPage2.TabIndex = 1;
            this.tabPage2.Text = "单选题";
            this.tabPage2.UseVisualStyleBackColor = true;
            // 
            // rbD
            // 
            this.rbD.AutoSize = true;
            this.rbD.Location = new System.Drawing.Point(278, 338);
            this.rbD.Name = "rbD";
            this.rbD.Size = new System.Drawing.Size(29, 16);
            this.rbD.TabIndex = 21;
            this.rbD.TabStop = true;
            this.rbD.Text = "4";
            this.rbD.UseVisualStyleBackColor = true;
            this.rbD.Visible = false;
            // 
            // rbC
            // 
            this.rbC.AutoSize = true;
            this.rbC.Location = new System.Drawing.Point(215, 338);
            this.rbC.Name = "rbC";
            this.rbC.Size = new System.Drawing.Size(29, 16);
            this.rbC.TabIndex = 21;
            this.rbC.TabStop = true;
            this.rbC.Text = "3";
            this.rbC.UseVisualStyleBackColor = true;
            // 
            // rbB
            // 
            this.rbB.AutoSize = true;
            this.rbB.Location = new System.Drawing.Point(153, 338);
            this.rbB.Name = "rbB";
            this.rbB.Size = new System.Drawing.Size(29, 16);
            this.rbB.TabIndex = 21;
            this.rbB.TabStop = true;
            this.rbB.Text = "2";
            this.rbB.UseVisualStyleBackColor = true;
            // 
            // rbA
            // 
            this.rbA.AutoSize = true;
            this.rbA.Location = new System.Drawing.Point(100, 338);
            this.rbA.Name = "rbA";
            this.rbA.Size = new System.Drawing.Size(29, 16);
            this.rbA.TabIndex = 21;
            this.rbA.TabStop = true;
            this.rbA.Text = "1";
            this.rbA.UseVisualStyleBackColor = true;
            // 
            // txtChooseD
            // 
            this.txtChooseD.Location = new System.Drawing.Point(100, 284);
            this.txtChooseD.Name = "txtChooseD";
            this.txtChooseD.Size = new System.Drawing.Size(555, 21);
            this.txtChooseD.TabIndex = 20;
            this.txtChooseD.Visible = false;
            // 
            // txtChooseC
            // 
            this.txtChooseC.Location = new System.Drawing.Point(100, 234);
            this.txtChooseC.Name = "txtChooseC";
            this.txtChooseC.Size = new System.Drawing.Size(555, 21);
            this.txtChooseC.TabIndex = 19;
            // 
            // txtChooseB
            // 
            this.txtChooseB.Location = new System.Drawing.Point(100, 178);
            this.txtChooseB.Name = "txtChooseB";
            this.txtChooseB.Size = new System.Drawing.Size(555, 21);
            this.txtChooseB.TabIndex = 18;
            // 
            // txtChooseA
            // 
            this.txtChooseA.Location = new System.Drawing.Point(100, 123);
            this.txtChooseA.Name = "txtChooseA";
            this.txtChooseA.Size = new System.Drawing.Size(555, 21);
            this.txtChooseA.TabIndex = 17;
            // 
            // label6
            // 
            this.label6.AutoSize = true;
            this.label6.Location = new System.Drawing.Point(24, 340);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(41, 12);
            this.label6.TabIndex = 16;
            this.label6.Text = "答案：";
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.Location = new System.Drawing.Point(71, 287);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(23, 12);
            this.label5.TabIndex = 15;
            this.label5.Text = "4：";
            this.label5.Visible = false;
            // 
            // label7
            // 
            this.label7.AutoSize = true;
            this.label7.ForeColor = System.Drawing.Color.Black;
            this.label7.Location = new System.Drawing.Point(71, 237);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(23, 12);
            this.label7.TabIndex = 14;
            this.label7.Text = "3：";
            // 
            // label8
            // 
            this.label8.AutoSize = true;
            this.label8.Location = new System.Drawing.Point(71, 181);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(23, 12);
            this.label8.TabIndex = 13;
            this.label8.Text = "2：";
            // 
            // label9
            // 
            this.label9.AutoSize = true;
            this.label9.Location = new System.Drawing.Point(71, 126);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(23, 12);
            this.label9.TabIndex = 12;
            this.label9.Text = "1：";
            // 
            // txtTitle2
            // 
            this.txtTitle2.Location = new System.Drawing.Point(66, 27);
            this.txtTitle2.Multiline = true;
            this.txtTitle2.Name = "txtTitle2";
            this.txtTitle2.Size = new System.Drawing.Size(589, 76);
            this.txtTitle2.TabIndex = 9;
            // 
            // btnSave2
            // 
            this.btnSave2.Location = new System.Drawing.Point(312, 394);
            this.btnSave2.Name = "btnSave2";
            this.btnSave2.Size = new System.Drawing.Size(75, 23);
            this.btnSave2.TabIndex = 6;
            this.btnSave2.Text = "保存";
            this.btnSave2.UseVisualStyleBackColor = true;
            this.btnSave2.Click += new System.EventHandler(this.btnSave2_Click);
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(24, 126);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(41, 12);
            this.label3.TabIndex = 4;
            this.label3.Text = "选项：";
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(29, 30);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(41, 12);
            this.label4.TabIndex = 5;
            this.label4.Text = "题目：";
            // 
            // tabPage3
            // 
            this.tabPage3.Controls.Add(this.cbD);
            this.tabPage3.Controls.Add(this.cbC);
            this.tabPage3.Controls.Add(this.cbB);
            this.tabPage3.Controls.Add(this.cbA);
            this.tabPage3.Controls.Add(this.txtD);
            this.tabPage3.Controls.Add(this.txtC);
            this.tabPage3.Controls.Add(this.txtB);
            this.tabPage3.Controls.Add(this.txtA);
            this.tabPage3.Controls.Add(this.label10);
            this.tabPage3.Controls.Add(this.label11);
            this.tabPage3.Controls.Add(this.label12);
            this.tabPage3.Controls.Add(this.label13);
            this.tabPage3.Controls.Add(this.label14);
            this.tabPage3.Controls.Add(this.txtTitle3);
            this.tabPage3.Controls.Add(this.btnSave3);
            this.tabPage3.Controls.Add(this.label15);
            this.tabPage3.Controls.Add(this.label16);
            this.tabPage3.Location = new System.Drawing.Point(4, 22);
            this.tabPage3.Name = "tabPage3";
            this.tabPage3.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage3.Size = new System.Drawing.Size(692, 451);
            this.tabPage3.TabIndex = 2;
            this.tabPage3.Text = "多选题";
            this.tabPage3.UseVisualStyleBackColor = true;
            // 
            // cbD
            // 
            this.cbD.AutoSize = true;
            this.cbD.Location = new System.Drawing.Point(287, 336);
            this.cbD.Name = "cbD";
            this.cbD.Size = new System.Drawing.Size(30, 16);
            this.cbD.TabIndex = 35;
            this.cbD.Text = "4";
            this.cbD.UseVisualStyleBackColor = true;
            this.cbD.Visible = false;
            // 
            // cbC
            // 
            this.cbC.AutoSize = true;
            this.cbC.Location = new System.Drawing.Point(229, 336);
            this.cbC.Name = "cbC";
            this.cbC.Size = new System.Drawing.Size(30, 16);
            this.cbC.TabIndex = 35;
            this.cbC.Text = "3";
            this.cbC.UseVisualStyleBackColor = true;
            // 
            // cbB
            // 
            this.cbB.AutoSize = true;
            this.cbB.Location = new System.Drawing.Point(162, 336);
            this.cbB.Name = "cbB";
            this.cbB.Size = new System.Drawing.Size(30, 16);
            this.cbB.TabIndex = 35;
            this.cbB.Text = "2";
            this.cbB.UseVisualStyleBackColor = true;
            // 
            // cbA
            // 
            this.cbA.AutoSize = true;
            this.cbA.Location = new System.Drawing.Point(99, 336);
            this.cbA.Name = "cbA";
            this.cbA.Size = new System.Drawing.Size(30, 16);
            this.cbA.TabIndex = 35;
            this.cbA.Text = "1";
            this.cbA.UseVisualStyleBackColor = true;
            // 
            // txtD
            // 
            this.txtD.Location = new System.Drawing.Point(99, 284);
            this.txtD.Name = "txtD";
            this.txtD.Size = new System.Drawing.Size(555, 21);
            this.txtD.TabIndex = 34;
            this.txtD.Visible = false;
            // 
            // txtC
            // 
            this.txtC.Location = new System.Drawing.Point(99, 234);
            this.txtC.Name = "txtC";
            this.txtC.Size = new System.Drawing.Size(555, 21);
            this.txtC.TabIndex = 33;
            // 
            // txtB
            // 
            this.txtB.Location = new System.Drawing.Point(99, 178);
            this.txtB.Name = "txtB";
            this.txtB.Size = new System.Drawing.Size(555, 21);
            this.txtB.TabIndex = 32;
            // 
            // txtA
            // 
            this.txtA.Location = new System.Drawing.Point(99, 123);
            this.txtA.Name = "txtA";
            this.txtA.Size = new System.Drawing.Size(555, 21);
            this.txtA.TabIndex = 31;
            // 
            // label10
            // 
            this.label10.AutoSize = true;
            this.label10.Location = new System.Drawing.Point(23, 340);
            this.label10.Name = "label10";
            this.label10.Size = new System.Drawing.Size(41, 12);
            this.label10.TabIndex = 30;
            this.label10.Text = "答案：";
            // 
            // label11
            // 
            this.label11.AutoSize = true;
            this.label11.Location = new System.Drawing.Point(70, 287);
            this.label11.Name = "label11";
            this.label11.Size = new System.Drawing.Size(23, 12);
            this.label11.TabIndex = 29;
            this.label11.Text = "4：";
            this.label11.Visible = false;
            // 
            // label12
            // 
            this.label12.AutoSize = true;
            this.label12.ForeColor = System.Drawing.Color.Black;
            this.label12.Location = new System.Drawing.Point(70, 237);
            this.label12.Name = "label12";
            this.label12.Size = new System.Drawing.Size(23, 12);
            this.label12.TabIndex = 28;
            this.label12.Text = "3：";
            // 
            // label13
            // 
            this.label13.AutoSize = true;
            this.label13.Location = new System.Drawing.Point(70, 181);
            this.label13.Name = "label13";
            this.label13.Size = new System.Drawing.Size(23, 12);
            this.label13.TabIndex = 27;
            this.label13.Text = "2：";
            // 
            // label14
            // 
            this.label14.AutoSize = true;
            this.label14.Location = new System.Drawing.Point(70, 126);
            this.label14.Name = "label14";
            this.label14.Size = new System.Drawing.Size(23, 12);
            this.label14.TabIndex = 26;
            this.label14.Text = "1：";
            // 
            // txtTitle3
            // 
            this.txtTitle3.Location = new System.Drawing.Point(65, 27);
            this.txtTitle3.Multiline = true;
            this.txtTitle3.Name = "txtTitle3";
            this.txtTitle3.Size = new System.Drawing.Size(589, 76);
            this.txtTitle3.TabIndex = 25;
            // 
            // btnSave3
            // 
            this.btnSave3.Location = new System.Drawing.Point(311, 394);
            this.btnSave3.Name = "btnSave3";
            this.btnSave3.Size = new System.Drawing.Size(75, 23);
            this.btnSave3.TabIndex = 24;
            this.btnSave3.Text = "保存";
            this.btnSave3.UseVisualStyleBackColor = true;
            this.btnSave3.Click += new System.EventHandler(this.btnSave3_Click);
            // 
            // label15
            // 
            this.label15.AutoSize = true;
            this.label15.Location = new System.Drawing.Point(23, 126);
            this.label15.Name = "label15";
            this.label15.Size = new System.Drawing.Size(41, 12);
            this.label15.TabIndex = 22;
            this.label15.Text = "选项：";
            // 
            // label16
            // 
            this.label16.AutoSize = true;
            this.label16.Location = new System.Drawing.Point(28, 30);
            this.label16.Name = "label16";
            this.label16.Size = new System.Drawing.Size(41, 12);
            this.label16.TabIndex = 23;
            this.label16.Text = "题目：";
            // 
            // SubjectManagerForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(703, 481);
            this.Controls.Add(this.tabControl1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.MaximizeBox = false;
            this.Name = "SubjectManagerForm";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "考题维护";
            this.tabControl1.ResumeLayout(false);
            this.tabPage1.ResumeLayout(false);
            this.tabPage1.PerformLayout();
            this.tabPage2.ResumeLayout(false);
            this.tabPage2.PerformLayout();
            this.tabPage3.ResumeLayout(false);
            this.tabPage3.PerformLayout();
            this.ResumeLayout(false);

		}
	}
}
